package br.poli.ecomp.tcc.stimultimidia.event
{
	import flash.events.Event;
	 


	public class SpeachEvent extends Event
	{
		
		public static const SPEACH:String = "speach";
		
		private var _texto:String;
		
		public function SpeachEvent (pType:String, ptexto:String,  pBubbles:Boolean=false, pCancelable:Boolean=false ){
			
			_texto=ptexto;
			super(pType, pBubbles, pCancelable);
			
		}
		
		public function get texto():String
		{
			return _texto;
		}

		override public function clone():Event{
		
			return new SpeachEvent(type,  texto,  bubbles, cancelable);
			
		}

		
	}

}